package com.aos.erp.manager.remote.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel("消息模板配置信息")
public class MessageTemplateVo implements Serializable {

    @ApiModelProperty(hidden = true, value = "模板ID")
    private long id = 0;    // 模板ID
    @ApiModelProperty(hidden = true, value = "模板标题(100字符内)")
    private String mtTitle = "";    // 标题
    @ApiModelProperty(hidden = true, value = "操作人")
    private String optUser = ""; // 操作人
    @ApiModelProperty(hidden = true, value = "推送方式数组[{mtContent:'消息模板(1000字符内，APP、短信推送需要)',mtWxTemplateId:'微信模板ID,微信公众号、微信小程序推送需要',mtUrl:'跳转链接,微信公众号、微信小程序推送需要;可不传,点击后无跳转',pushType:推送方式(app:APP；wx_public:微信公众号；wx_applet:微信小程序；sms:短信),pushParamList:[{mtpId:参数项ID,mtpItem:'参数项', mtpDesc:'参数项描述'}]}]")
    private List<MTPushTypeVo> pushTypeList=new ArrayList<>();   // 推送方式
    @ApiModelProperty(hidden = true, value = "模板下发驾校数组[{dsId:0,dsCode:'驾校编号',dsName:'驾校名称'}]")
    private List<MTDriverSchoolVo> mtDriverSchoolList = new ArrayList<>();    // 适用驾校列表
}
